package com.user.fegin;

import com.common.enums.error.ResultEnum;
import com.common.result.Result;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

/**
 * @author: stefanie-zy
 * @time: 2024/2/1-15:37
 * @description: 文件服务熔断器
 */
@Component
@Service
public class FileServerImpl implements FileService {

    @Override
    public Result<?> getUserIcoUrl(String userName) {
        return Result.fail(ResultEnum.S_FAIL.getCode(), "文件服务熔断，降级处理");
    }
}
